home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / python2.4 / test / test_timing.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2005-10-18  |  585b  |  26 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4. from test.test_support import verbose
  5. import timing
  6. r = range(100000)
  7. if verbose:
  8.     print 'starting...'
  9.  
  10. timing.start()
  11. for i in r:
  12.     pass
  13.  
  14. timing.finish()
  15. if verbose:
  16.     print 'finished'
  17.  
  18. secs = timing.seconds()
  19. milli = timing.milli()
  20. micro = timing.micro()
  21. if verbose:
  22.     print 'seconds:', secs
  23.     print 'milli  :', milli
  24.     print 'micro  :', micro
  25.  
  26.